//
//  LocalRecordModel.h
//  BDD_TWO
//
//  Created by XTW on 2023/6/9.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface LocalRecordModel : NSObject<NSCopying>

- (instancetype)initRecord:(NSString *)format;
- (instancetype)initImport:(NSString *)name;
- (instancetype)initMerge;
- (instancetype)initCustom;

///文件名称
@property (nonatomic, copy) NSString *fileName;
///录音创建时间
@property (nonatomic, copy) NSString *createTime;
///外显名称
@property (nonatomic, copy) NSString *nickName;
///录音id
@property (nonatomic, copy) NSString *recordId;
///文件是否被选中
@property (nonatomic, assign) BOOL isSelected;
///文件是否被删除
@property (nonatomic, assign) BOOL isDeleted;
///文件是否上传到云端
@property (nonatomic, assign) BOOL isUpload;
///文件是否正在播放
@property (nonatomic, assign) BOOL isPlaying;
///文件是否需要保存,暂时放在tmp目录下，用户点击保存后，需要移动到doc/records下
@property (nonatomic, copy) NSURL *needSaveUrl;
///文字转音频
@property (nonatomic, copy) NSString *text;
@end

NS_ASSUME_NONNULL_END
